/*  1:   */ package org.jetbrains.jps.model.impl;
/*  2:   */ 
/*  3:   */

import org.jetbrains.annotations.NotNull;
import org.jetbrains.jps.model.JpsElementChildRole;
import org.jetbrains.jps.model.JpsFileTypesConfiguration;
import org.jetbrains.jps.model.ex.JpsElementBase;
import org.jetbrains.jps.model.ex.JpsElementChildRoleBase;

/*  4:   */
/*  5:   */
/*  6:   */
/*  7:   */
/*  8:   */ 
/*  9:   */ public class JpsFileTypesConfigurationImpl
/* 10:   */   extends JpsElementBase<JpsFileTypesConfigurationImpl>
/* 11:   */   implements JpsFileTypesConfiguration
/* 12:   */ {
/* 13:28 */   public static final JpsElementChildRole<JpsFileTypesConfiguration> ROLE = JpsElementChildRoleBase.create("file types");
/* 14:   */   private String a;
/* 15:   */   
/* 16:   */   public JpsFileTypesConfigurationImpl()
/* 17:   */   {
/* 18:32 */     this("CVS;SCCS;RCS;rcs;.DS_Store;.svn;.pyc;.pyo;*.pyc;*.pyo;.git;*.hprof;_svn;.hg;*.lib;*~;__pycache__;.bundle;vssver.scc;vssver2.scc;*.rbc;");
/* 19:   */   }
/* 20:   */   
/* 21:   */   private JpsFileTypesConfigurationImpl(String paramString)
/* 22:   */   {
/* 23:36 */     this.a = paramString;
/* 24:   */   }
/* 25:   */   
/* 26:   */   @NotNull
/* 27:   */   public JpsFileTypesConfigurationImpl createCopy()
/* 28:   */   {
/* 29:42 */     void tmp11_8 = new JpsFileTypesConfigurationImpl(this.a);
/* 30:42 */     if (tmp11_8 == null) {
/* 31:42 */       throw new IllegalStateException(String.format("@NotNull method %s.%s must not return null", new Object[] { "org/jetbrains/jps/model/impl/JpsFileTypesConfigurationImpl", "createCopy" }));
/* 32:   */     }
/* 33:42 */     return tmp11_8;
/* 34:   */   }
/* 35:   */   
/* 36:   */   public String getIgnoredPatternString()
/* 37:   */   {
/* 38:47 */     return this.a;
/* 39:   */   }
/* 40:   */   
/* 41:   */   public void setIgnoredPatternString(@NotNull String paramString)
/* 42:   */   {
/* 43:52 */     if (paramString == null) {
/* 44:52 */       throw new IllegalArgumentException(String.format("Argument %s for @NotNull parameter of %s.%s must not be null", new Object[] { "0", "org/jetbrains/jps/model/impl/JpsFileTypesConfigurationImpl", "setIgnoredPatternString" }));
/* 45:   */     }
/* 46:52 */     if (!this.a.equals(paramString))
/* 47:   */     {
/* 48:53 */       this.a = paramString;
/* 49:54 */       fireElementChanged();
/* 50:   */     }
/* 51:   */   }
/* 52:   */   
/* 53:   */   public void applyChanges(@NotNull JpsFileTypesConfigurationImpl paramJpsFileTypesConfigurationImpl)
/* 54:   */   {
/* 55:60 */     if (paramJpsFileTypesConfigurationImpl == null) {
/* 56:60 */       throw new IllegalArgumentException(String.format("Argument %s for @NotNull parameter of %s.%s must not be null", new Object[] { "0", "org/jetbrains/jps/model/impl/JpsFileTypesConfigurationImpl", "applyChanges" }));
/* 57:   */     }
/* 58:60 */     setIgnoredPatternString(paramJpsFileTypesConfigurationImpl.a);
/* 59:   */   }
/* 60:   */ }



/* Location:           E:\idea\

 * Qualified Name:     org.jetbrains.jps.model.impl.JpsFileTypesConfigurationImpl

 * JD-Core Version:    0.7.0.1

 */